<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title></title>
<import type="js" file="js.jquery" />
<import type="js" file="js.common" />
<import type="css" file="css.global" />
<import type="css" file="css.form" />
</head>
<body>
<div class="search">
	<b>系统日志列表</b>
	<div class="tools"><input type="button" value="清除系统日志" class="button" onclick="del()" >&nbsp;</div>
</div>
<div class="list">
<table class="stripe" cellspacing="0">
    <thead>
        <tr>
            <th width="10%">用户名</th>
            <th width="10%">操作</th>
            <th width="10%">模块</th>
            <th width="40%">行为内容</th>
            <th width="15%">时间</th>
            <th width="15%">ip</th>
        </tr>
    </thead>
 
    <tbody>
      <volist name="data" id="vo" empty="$empty">
        <tr>
            <td>{$vo.user_name}</td>
            <td>{$vo.operat|default='---'}</td>
            <td>{$vo.modul|default='---'}</td>
            <td>{$vo.action|default='---'}</td>
            <td>{$vo.create_time}</td>
            <td>{$vo.ip|default='---'}</td>
        </tr>
      </volist>
    </tbody>
</table>
</div>
<div class="page">{$page}</div>
</body>
</html>
<script language="javascript">
$(document).ready(function(){  
	$(".stripe tr").mouseover(function(){    
	  $(this).addClass("over");}).mouseout(function(){   
			$(this).removeClass("over");}) 
  	$(".stripe tr:even").addClass("alt");
});   

function del(id){
	if (confirm("确定要清除所有的系统操作日志？")){
		$.get("__APP__/System/delete",function(result){
			location.href="__APP__/System/systemlog";
		});
	}else{
		return false;
	}
}
</script>  